﻿using Shop.Model.Activity;
using Shop.Model.DB;
using Shop.RemoteModel.Activity.Model;
using WeDonekRpc.Model;

namespace Shop.Repository
{
    public interface IActivityRepository : IShopBaseRepository<DBShopActivity, long>
    {
        long Add (ActivityAdd data);
        ValidActivityDto[] GetValidActivity (DateTime beginTime, DateTime endTime, long skuId);
        Result[] Query<Result> (ActivityQueryParam query, IBasicPage paging, out int count) where Result : class;
    }
}